home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
PROBLEMS
/
SERIALPORT
/
RISCOS3
< prev
next >
Wrap
Text File
|
1993-09-10
|
2KB
|
55 lines
Mon, 30 Aug 1993 21:45:18 comp.sys.acorn.tech Thread 3 of 9
Lines 41 The old serial port problems... Respno 2 of 2
ncw@axis.demon.co.uk Nick Craig-Wood
> I've just connected my Archimedes (oldish A310 but with ARM3
> etc; and of course RISC OS 3) to a nice shiny new V32bis
> modem, and as feared I am getting horrible results when
> trying to do file transfers. Incoming zmodem suffers from
> many CRC and other errors, and eventually gives up.
> Presumably this is just a result of running the serial port
> at 19200 baud.
> Anyway, I heard some time ago there was a new SerialDev
> module around which helps with these problems. Has this
> actually been released; is it obtainable from anywhere? (Is
> there any *really* kind person who could email me a copy?).
Well here is how to patch the SerialDeviceDriver version 0.21 module in
RISCOS 3.10, 3.11 to make it work better on older machines with 65C51, ie
A300/A400/A540/A3000.
Save the module to disc. (With RMsave, !Zap, *saving it from the ROM or any
other means you can think of. It is &1680 bytes long.)
In the saved file change
Offset
From: 00000B60 : .? : E33FF003 : TEQP PC,#3
To: 00000B60 : ? : E33FF3C2 : TEQP PC,#&08000003
Load the patched module before you use it or you will get a device in use
error.
You should now find that the serial port works much better.
The patch ensures that the interrupt routine for the 65C51 runs with
interrupts disabled and hence that any new characters arriving whilst the
interrupt is being processed will not cause corruptions or lost characters.
A newer version of the module might deal with the interrupts in a more
efficient manner but this seems to work...
-- Nick Craig-Wood (ncw@axis.demon.co.uk) --
Note by acorn@info2.rus.uni-stuttgart.de (Kai Schlichting) (Archimedes Support):
This _WORKS_ with my A3000, and reduces the error prone serial port
communication to something that one can at least WORK with !
Errors down by 95 %...
I have received this hack as a complete module with the module header saying:
Serial Device 0.22 (27 Feb 1993)
So: was this an official Acorn patch ?????